package com.cskaoyan.wordmemorize.service;

import com.cskaoyan.wordmemorize.dto.admin.AdminLoginDTO;
import com.cskaoyan.wordmemorize.dto.app.AppLoginDTO;
import com.cskaoyan.wordmemorize.request.EmployeeLoginRequest;
import com.cskaoyan.wordmemorize.request.PhoneNumberLoginCommand;
import jakarta.servlet.http.HttpServletRequest;

public interface LoginService {
    // 后台登录
    AdminLoginDTO adminLogin(EmployeeLoginRequest request, HttpServletRequest req);

    // APP登录
    AppLoginDTO phoneNumberLogin(PhoneNumberLoginCommand command, String ipAddr);
}
